package leetcode.medium.countandsay;

import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import util.SolutionValidator;

public class SolutionTest {

    private static Solution solution;

    @BeforeClass
    public static void setup() {
        SolutionValidator.checkSolved(Solution.class);
        solution = new Solution();
    }

    @AfterClass
    public static void tearDown() {
        solution = null;
    }

    @Test
    public void test1() {
        int input = 4;
        Assert.assertEquals("1211", solution.countAndSay(input));
    }

    @Test
    public void test2() {
        int input = 1;
        Assert.assertEquals("1", solution.countAndSay(input));
    }
}
